<tagLib name="strends" />
<php>
	function showtype($cid)
	{
		if($cid==1){
			return "星象职场";
		}elseif($cid==2){
			return "星象情感";
		}else{
			return "星象亲子";
		}	
	}
</php>
<include file="Public:header" />
<script type="text/javascript" src="__TMPL__Static/Js/dataList.js"></script>
<div class="handle-btns">
	<strends:imageBtn id="editData" name="editData" value="{%EDIT}" click="editData(this,'checkList','id')" />
	<strends:imageBtn id="removeData" name="removeData" value="{%REMOVE}" click="removeData(this,'checkList')" />
	<form action="__APP__">
		<span>{%TITLE}</span>
		<input class="textinput" type="text" value="{$title}" name="title" size="12" />
		<small></small>
		<input class="submit_btn" type="submit" value="{%SEARCH}" />
		<input type="hidden" name="{:c('VAR_MODULE')}" value="{$module_name}" />
		<input type="hidden" name="{:c('VAR_ACTION')}" value="index" />
	</form>
</div>
<strends:list 
	id="checkList" 
	style="list" 
	name="album" 
	checkbox="true" 
	action="true" 
	datasource="list" 
	show="id:{%ID}|50,title:{%TITLE}|~left,cid|showtype:{%CID}|80,sort:{%SORT}|70,create_time|toDate:{%CREATE_TIME}|150,is_index|getStatusImg:{%IS_INDEX}|50:toggleStatus|id,status|getStatusImg:{%STATUS}|50:toggleStatus|id" 
	actionlist="editData:{%EDIT}:id,removeData:{%REMOVE}:id" action_width="100" />
<div class="pager">{$page}</div>
<include file="Public:footer" />